package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.ITitleDAO;
import org.scirp.ijmis.po.common.Title;

public class TitleDAOImpl extends BaseDAOImpl<Title> implements ITitleDAO {

	private static final String className = TitleDAOImpl.class.toString();

	public List<Title> selectAll() {
		String hql = "from Title order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public Title selectById(Object id) {
		return (Title) super.selectById(id, className + "-->selectById");
	}

}
